const db = uniCloud.database()
exports.main = async (event, context) => {
	let {
		likeArr
	} = event
	let like = []
	for (let i = 0; i < likeArr.length; i++) {
		like.push(await db.collection('article').where({
			_id: likeArr[i]
		}).get())
	}
	return await like
};